

import bpy
import nodeitems_utils
from bpy.types import Operator, Menu



class C_节点子菜单_创建物理数据(Menu):
	bl_idname = "node.object_create_physics_data"
	bl_label = "物理数据生成"

	def draw(self, context):
		layout = self.layout
		layout.operator('node.global_node_add_car_rigid_body')
		layout.operator('node.global_node_add_wheels')
		layout.operator('node.global_node_create_px_plane')
		layout.operator('node.global_node_create_px_rigid')




class C_节点子菜单_物理引擎数据管理(Menu):
	bl_idname = "node.object_create_physics_engine_data_management"
	bl_label = "物理引擎数据管理"
	
	def draw(self, context):
		layout = self.layout
		layout.operator('node.global_node_physics_add_vehicle')
		
		


classes = (
	C_节点子菜单_创建物理数据,
	C_节点子菜单_物理引擎数据管理,
)

def register():
	for c in classes:
		bpy.utils.register_class(c)

def unregister():
	for c in classes:
		bpy.utils.unregister_class(c)

	



